package com.example.demo.mapper;

import com.example.demo.entity.Department;
import org.springframework.stereotype.Repository;

/**
 * @Author: WinstonDeng
 * @Description:
 * @Date: Created in 9:34 2020/4/8
 * @Modified by:
 */
@Repository
public interface DepartmentMapper {
    Department findById(long id);

    Department findByName(String name);
}
